<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<canvas id="mycanvas" width="600px" height="600px"></canvas>
		<script type="text/javascript">
			const mycanvas = document.getElementById('mycanvas');
			const ctx = mycanvas.getContext('2d');
			ctx.translate(300 , 300);
			ctx.rotate(-Math.PI * 0.1);
			ctx.rect(0 , 0 , 100 , 100);
			ctx.stroke();
		</script>
	</body>
</html>
